package cn.edu.njuit.server.ugcnote.ugcnoteserver.service;

import cn.edu.njuit.server.ugcnote.ugcnoteserver.entity.NoteInfo;
import org.springframework.data.domain.Page;

public interface NoteInfoService {
    Page<NoteInfo> findAllNotes(Long typeId, Integer page, Integer size);
    NoteInfo publishNote(NoteInfo note);
    NoteInfo getNoteInfo(Long id);
}
